//
//  SimpleDatePicker.h
//  Client
//
//  Created by qq on 2018/8/2.
//  Copyright © 2018年 qq. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MCCSBundleView.h"

@interface SimpleDatePicker : MCCSBundleView

@property (strong, nonatomic) NSDate *date;
@property (strong, nonatomic) NSDate *maxDate;
@property (strong, nonatomic) NSDate *minDate;
@property (weak, nonatomic) IBOutlet UIDatePicker *datePicker;
@property (assign, nonatomic) UIDatePickerMode dateMode;
@property (strong, nonatomic) void(^okBlock)(NSDate* date);
+(CGRect)preferredFrame;

-(void)show;
-(void)hide:(dispatch_block_t)completion;
@end
